package com.ecfront.dao;

import java.util.List;

import com.ecfront.pojo.Link;

public interface LinkDAO {

	// property constants
	public static final String INAME = "name";
	public static final String IIMAG_URL = "imgUrl";
	public static final String IWORD_URL = "wordUrl";
	public static final String ILEVEL = "level";

	public abstract void save(Link transientInstance);

	public abstract void delete(Link persistentInstance);

	public abstract Link findById(java.lang.Integer id);

	public abstract List findByExample(Link instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByIname(Object iname);

	public abstract List findByIimagUrl(Object iimagUrl);

	public abstract List findByIwordUrl(Object iwordUrl);

	public abstract List findByIlevel(Object ilevel);

	public abstract List findAll();

}